package com.example.testi18n.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.testi18n.entity.RedEnvelopeCopy1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RedEnvelopeCopy1Mapper extends BaseMapper<RedEnvelopeCopy1> {

    @Select("select * from red_envelope_copy1")
    IPage<RedEnvelopeCopy1> listByPage(@Param("page") Page<Object> page);
}
